<?php
/**
 * Connect to the database
 * 
 * @author Sean
 */
	define('SERVER_HOST', 'sean.servern.org/webdrop');

	define('MYSQL_HOST', 'localhost');
	define('MYSQL_USERNAME', 'webdrop');
	define('MYSQL_PASSWORD', 'webdrop');
	define('MYSQL_CHARSET', 'utf-8');
	define('MYSQL_DATABASE', 'webdrop');

	@mysql_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD) or die('Unable to connect to database.');
	
	// Ensure correct charset
	mysql_set_charset(MYSQL_CHARSET); 
	
	@mysql_select_db(MYSQL_DATABASE) or die("Unable to select database.");
	
?>